package com.java0106;

import java.util.Random;

public class Java02 {
    public static void main(String[] args) {
        //2、随机数
        char[] arr ={'x','C','D','A'};
        Random random = new Random();
        for(int i=0;i<10;i++){
            System.out.println(random.nextInt(5));//0-4
        }
    }
}
